
.courtyard-modal {
  position: fixed;
  width: 400px;
  height: 250px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  margin: auto;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  z-index: 999;
  box-shadow: 0 0 4px 0 rgba(129, 124, 124, 0.5);
}

.courtyard-modal-title {
  width: 100%;
  height: 50px;
  line-height: 50px;
  padding: 0 10px;
}

.courtyard-modal-content {
  width: 100%;
  height: 100px;
  padding: 0 10px;
}

.courtyard-modal-operator {
  width: 100%;
  height: 50px;
  position: absolute;
  bottom: 0;
}

.courtyard-modal-operator-close, .courtyard-modal-operator-confirm {
  width: 50%;
  border: none;
  outline: none;
  height: 50px;
  line-height: 50px;
  opacity: 1;
  color: #fff;
  cursor: pointer;
}

.courtyard-modal-operator-close {
  background: #c0c0c0;
}

.courtyard-modal-operator-confirm {
  background: #25c124;
}

.courtyard-modal-operator-close:active, .courtyard-modal-operator-confirm:active {
  opacity: .6;
  transition: opacity .3s;
}

.courtyard-mask {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000;
  opacity: .7;
  z-index: 998;
}

.courtyard-alert-enter {
  opacity: 0;
  transform: scale(0.9);
}
.courtyard-alert-enter-active {
  opacity: 1;
  transform: translateX(0);
  transition: opacity 300ms, transform 300ms;
}
.courtyard-alert-exit {
  opacity: 1;
}
.courtyard-alert-exit-active {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 300ms, transform 300ms;
}

.courtyard-mask-enter {
  opacity: 0;
}
.courtyard-mask-enter-active {
  opacity: .7;
  transition: opacity 300ms, transform 300ms;
}
.courtyard-mask-exit {
  opacity: .7;
}
.courtyard-mask-exit-active {
  opacity: 0;
  transition: opacity 300ms, transform 300ms;
}

